package models.user;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class User extends Model {
	
	@Required
	@Column(unique=true, nullable=false)
	public String facebook_id;
	
	public String name;
	public String username;
	
	public Date registDate;
	public Date updateDate;
	
	public String accessToken;
	public Date expires;
} // class User
